package com.hc.mapper;

import com.hc.domain.Menu;
import com.hc.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author wzf
 * @since 2024-09-10
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<String> listPermsByUserName(String username);

    List<String> listRolesByUserName(String username);

    List<Menu> listMenus(String username);

    List<User> listUser(User user);
}
